package com.dream.dynamic_datasource.service.other.impl;

import com.dream.dynamic_datasource.entity.other.Dpt;
import com.dream.dynamic_datasource.mapper.DbTestMapper;
import com.dream.dynamic_datasource.service.other.DbTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: Luo
 * @create: 2020-08-25 10:20
 */
@Service
public class DbTestServiceImpl implements DbTestService {

    @Autowired
    private DbTestMapper dbTestMapper;
    @Override
    public List<Dpt> getDpt() {
        return dbTestMapper.selectDptList();
    }
}
